package com.surelution.projects.crm

import java.util.List;

/**
 * 持卡用户的油品消费明细，消费可能来自外部系统导入
 * @author <a href="mailto:guangzong.syu@gmail.com">Guangzong</a>
 *
 */
class CardConsume {

    static constraints = {
		rawInfo(unique:['tradeTime','member'])
    }
	
	static belongsTo = [member:MemberCard]
	CardConsumeRaw rawInfo
	String tradeAt
	GasType gasType
	Float amount
	Date tradeTime
	
}
